package com.ybkj.daijia.server.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import net.sourceforge.pinyin4j.PinyinHelper;
import net.sourceforge.pinyin4j.format.HanyuPinyinCaseType;
import net.sourceforge.pinyin4j.format.HanyuPinyinOutputFormat;
import net.sourceforge.pinyin4j.format.HanyuPinyinToneType;
import net.sourceforge.pinyin4j.format.HanyuPinyinVCharType;
import net.sourceforge.pinyin4j.format.exception.BadHanyuPinyinOutputFormatCombination;
import org.apache.commons.lang3.ArrayUtils;
import org.apache.commons.lang3.StringUtils;

/**
 * 公司
 *
 * @author Shine
 */
public class Company extends Base {

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    private String companyName;

    private String manager;// 负责人

    private String telephone;// 联系电话

    private String emergencyPhone;// 紧急呼叫电话

    private String mobilePhone;// 手机号码

    private String companyAddress;// 公司地址

    private String fox;// 传真

    private String email;

    private Integer scope;// 规模

    private Double longitude; // 经度

    private Double latitude; // 纬度

    private boolean companyType;// 类型 true为主公司

    private String abbreviation;// 公司简称

    @JsonIgnore
    private String signName;// 短信签名

    private String fzzPhone;// 400电话

    private String logo;// logo

    private String memo;// 备注

    private Long areaId;// 代驾收费

    private Long areaCarId;// 专车收费

    private Area areaCar;

    private Long areaPaotuiId;// 跑腿收费

    private Area areaPaotui;

    private String pinyin;

    @JsonIgnore
    private List<DriverLevel> driverLevels;

    @JsonIgnore
    private boolean useMine;// 司机是否使用当前提成(代驾)

    @JsonIgnore
    private boolean useMineCar;// 司机是否使用当前提成（专车）

    @JsonIgnore
    private boolean useMinePaotui;// 司机是否使用当前提成（跑腿）

    @JsonIgnore
    private boolean useMineFreight;// 司机是否使用当前提成（货运）

    @JsonIgnore
    private String appKey;

    @JsonIgnore
    private String provName;// 省名

    private String cityName;// 市名

    @JsonIgnore
    private String feeContent;// 收费说明

    @JsonIgnore
    private Integer sort;// 仅前台用

    @JsonIgnore
    private String picture;// 客户推荐客户页面背景

    @JsonIgnore
    private String introduceTitle;// 客户推荐客户页面标题

    @JsonIgnore
    private String introduceContent;// 客户推荐客户页面标题

    @JsonIgnore
    private String picture2;// 司机推荐客户页面背景

    @JsonIgnore
    private String introduceTitle2;// 司机推荐客户页面标题

    @JsonIgnore
    private String administrativeDivisionNoArr; // 行政区划编号 本地数据数组

    @JsonIgnore
    private String serviceAgenciesNumberArr; // 服务机构所在行政地区编号 本地数据数组

    @JsonIgnore
    private String agencyEmergencyTel; // 服务机构紧急联系电话

    @JsonIgnore
    private Date agenctCreateDate; // 服务机构设立日期

    private Long bdLevelId;// 代驾补单提成

    private Area area;

    @JsonIgnore
    private String introduceContent2;// 司机推荐客户页面标题

    @JsonIgnore
    private String companyWebURL; // 公司网站地址

    @JsonIgnore
    private String shareTitle; // 分享标题

    @JsonIgnore
    private String shareContent; // 分享内容

    @JsonIgnore
    private String shareImage; // 分享图片

    @JsonIgnore
    private String shareURL; // 分享链接

    @JsonIgnore
    private String agreementEmploy; // 服务人员服务协议

    @JsonIgnore
    private String agreement; // 服务协议

    @JsonIgnore
    private String customTitle; // 自定义内容

    @JsonIgnore
    private String customContent; // 自定义内容

    @JsonIgnore
    private String unifiedSocialCreditCode; // 统一社会信用代码

    @JsonIgnore
    private String netAboutcarBusinessLicenseNo; // 网络预约出租汽车经营许可证号

    @JsonIgnore
    private String businessScope; // 经营范围

    @JsonIgnore
    private String operatingRegion; // 经营区域

    @JsonIgnore
    private String mailingAddress; // 通讯地址

    @JsonIgnore
    private String administrativeDivisionNo; // 行政区划编号

    @JsonIgnore
    private String economicTypesOfOperatingHousehold; // 经营户经济类型

    @JsonIgnore
    private Date operatingLicenseValidityPeriodStart; // 经营许可证有效期起

    @JsonIgnore
    private Date operatingLicenseValidityPeriodEnd; // 经营去可证有效期止

    @JsonIgnore
    private String operatingLicenseIssuingAgency; // 经营许可证发证机构

    @JsonIgnore
    private Date operatingLicenseIssuingDate; // 经营许可证初次发证日期

    @JsonIgnore
    private BigDecimal registeredCapital; // 注册资本

    @JsonIgnore
    private Long registeredVehiclesNumber; // 注册网络预约出租车车辆数

    @JsonIgnore
    private Long registeredDriverNumber; // 注册网络预约出租车驾驶员数量

    @JsonIgnore
    private String legalRepresentative; // 法定代表人

    @JsonIgnore
    private String legalRepresentativeIDCard; // 法定代表人身份证号

    @JsonIgnore
    private String legalRepresentativePhoto; // 法定代表人身份证照片

    @JsonIgnore
    private String legalRepresentativePhone; // 法定代表人电话

    @JsonIgnore
    private String paymentInstitutionName; // 银行或者非银行支付机构名称

    @JsonIgnore
    private String paymentServiceLicenseNo; // 非银行支付机构支付业务许可证编号

    @JsonIgnore
    private String paymentServiceType; // 支付业务类型

    @JsonIgnore
    private String serviceCoverageArea; // 业务覆盖范围

    @JsonIgnore
    private String provisionsDepositoryBank; // 备付金存管银行

    @JsonIgnore
    private String netAboutCarCompanyLogo; // 网约车平台公司标识

    @JsonIgnore
    private String serviceAgenciesNumber; // 服务机构所在行政地区编号

    @JsonIgnore
    private String serviceAgenciesName; // 服务机构名称

    @JsonIgnore
    private String serviceAgenciesCode; // 服务机构代码

    @JsonIgnore
    private String serviceAgenciesAddress; // 服务机构具体地址

    @JsonIgnore
    private String serviceAgenciesChargePersonName; // 服务机构负责人姓名

    @JsonIgnore
    private String serviceAgenciesChargePersonPhone; // 服务机构负责人联系方式

    @JsonIgnore
    private String serviceAgenciesCustodianName; // 服务机构管理人姓名

    @JsonIgnore
    private String serviceAgenciesCustodianPhone; // 服务机构管理人联系方式

    @JsonIgnore
    private String administrativeMailingAddress; // 行政文书送达邮寄地址

    // 约个师傅定制
    @JsonIgnore
    private BigDecimal djxFee; // 代驾险金额

    @JsonIgnore
    private BigDecimal ywxFee; // 意外险金额

    @JsonIgnore
    private BigDecimal infoFee; // 信息费

    @JsonIgnore
    private InfoFeeType infoFeeType; // 收取方式

    @JsonIgnore
    private BigDecimal lowestWorkVirtual;// 司机余额低于该值不能上班 0不生效

    @JsonIgnore
    private Boolean allowPayRule;// 允许司机自行设置收费标准

    @JsonIgnore
    private Boolean allowDjx;// 允许司机投代驾险

    @JsonIgnore
    private Boolean allowYwx;// 允许司机投意外险

    @JsonIgnore
    private String djxContent;// 代驾险说明

    @JsonIgnore
    private String ywxContent;// 意外险说明

    @JsonIgnore
    private String protectFeeContent;//保价说明

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getManager() {
        return manager;
    }

    public void setManager(String manager) {
        this.manager = manager;
    }

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public Area getAreaCar() {
        return areaCar;
    }

    public void setAreaCar(Area areaCar) {
        this.areaCar = areaCar;
    }

    public Long getAreaPaotuiId() {
        return areaPaotuiId;
    }

    public void setAreaPaotuiId(Long areaPaotuiId) {
        this.areaPaotuiId = areaPaotuiId;
    }

    public Area getAreaPaotui() {
        return areaPaotui;
    }

    public void setAreaPaotui(Area areaPaotui) {
        this.areaPaotui = areaPaotui;
    }

    public String getProvName() {
        return provName;
    }

    public void setProvName(String provName) {
        this.provName = provName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getCompanyWebURL() {
        return companyWebURL;
    }

    public void setCompanyWebURL(String companyWebURL) {
        this.companyWebURL = companyWebURL;
    }

    public String getShareTitle() {
        return shareTitle;
    }

    public void setShareTitle(String shareTitle) {
        this.shareTitle = shareTitle;
    }

    public String getShareContent() {
        return shareContent;
    }

    public void setShareContent(String shareContent) {
        this.shareContent = shareContent;
    }

    public String getShareImage() {
        return shareImage;
    }

    public void setShareImage(String shareImage) {
        this.shareImage = shareImage;
    }

    public String getShareURL() {
        return shareURL;
    }

    public void setShareURL(String shareURL) {
        this.shareURL = shareURL;
    }

    public String getAgreementEmploy() {
        return agreementEmploy;
    }

    public void setAgreementEmploy(String agreementEmploy) {
        this.agreementEmploy = agreementEmploy;
    }

    public String getAgreement() {
        return agreement;
    }

    public void setAgreement(String agreement) {
        this.agreement = agreement;
    }

    public BigDecimal getLowestWorkVirtual() {
        if (null == lowestWorkVirtual) {
            return BigDecimal.ZERO;
        }
        return lowestWorkVirtual;
    }

    public void setLowestWorkVirtual(BigDecimal lowestWorkVirtual) {
        this.lowestWorkVirtual = lowestWorkVirtual;
    }

    public BigDecimal getDjxFee() {
        if (null == djxFee) {
            return BigDecimal.ZERO;
        }
        return djxFee;
    }

    public void setDjxFee(BigDecimal djxFee) {
        this.djxFee = djxFee;
    }

    public BigDecimal getYwxFee() {
        if (null == ywxFee) {
            return BigDecimal.ZERO;
        }
        return ywxFee;
    }

    public void setYwxFee(BigDecimal ywxFee) {
        this.ywxFee = ywxFee;
    }

    public BigDecimal getInfoFee() {
        if (null == infoFee) {
            return BigDecimal.ZERO;
        }
        return infoFee;
    }

    public void setInfoFee(BigDecimal infoFee) {
        this.infoFee = infoFee;
    }

    public InfoFeeType getInfoFeeType() {
        return infoFeeType;
    }

    public void setInfoFeeType(InfoFeeType infoFeeType) {
        this.infoFeeType = infoFeeType;
    }

    public Boolean getAllowPayRule() {
        if (null == allowPayRule) {
            return Boolean.FALSE;
        }
        return allowPayRule;
    }

    public void setAllowPayRule(Boolean allowPayRule) {
        this.allowPayRule = allowPayRule;
    }

    public Boolean getAllowDjx() {
        if (null == allowDjx) {
            return Boolean.FALSE;
        }
        return allowDjx;
    }

    public void setAllowDjx(Boolean allowDjx) {
        this.allowDjx = allowDjx;
    }

    public Boolean getAllowYwx() {
        if (null == allowYwx) {
            return Boolean.FALSE;
        }
        return allowYwx;
    }

    public void setAllowYwx(Boolean allowYwx) {
        this.allowYwx = allowYwx;
    }

    public String getDjxContent() {
        if (null == djxContent) {
            return "";
        }
        return djxContent;
    }

    public void setDjxContent(String djxContent) {
        this.djxContent = djxContent;
    }

    public String getYwxContent() {
        if (null == ywxContent) {
            return "";
        }
        return ywxContent;
    }

    public void setYwxContent(String ywxContent) {
        this.ywxContent = ywxContent;
    }

    public String getCustomTitle() {
        return customTitle;
    }

    public void setCustomTitle(String customTitle) {
        this.customTitle = customTitle;
    }

    public String getCustomContent() {
        return customContent;
    }

    public void setCustomContent(String customContent) {
        this.customContent = customContent;
    }

    public String getUnifiedSocialCreditCode() {
        return unifiedSocialCreditCode;
    }

    public void setUnifiedSocialCreditCode(String unifiedSocialCreditCode) {
        this.unifiedSocialCreditCode = unifiedSocialCreditCode;
    }

    public String getNetAboutcarBusinessLicenseNo() {
        return netAboutcarBusinessLicenseNo;
    }

    public void setNetAboutcarBusinessLicenseNo(String netAboutcarBusinessLicenseNo) {
        this.netAboutcarBusinessLicenseNo = netAboutcarBusinessLicenseNo;
    }

    public String getBusinessScope() {
        return businessScope;
    }

    public void setBusinessScope(String businessScope) {
        this.businessScope = businessScope;
    }

    public String getOperatingRegion() {
        return operatingRegion;
    }

    public void setOperatingRegion(String operatingRegion) {
        this.operatingRegion = operatingRegion;
    }

    public String getMailingAddress() {
        return mailingAddress;
    }

    public void setMailingAddress(String mailingAddress) {
        this.mailingAddress = mailingAddress;
    }

    public String getAdministrativeDivisionNo() {
        return administrativeDivisionNo;
    }

    public void setAdministrativeDivisionNo(String administrativeDivisionNo) {
        this.administrativeDivisionNo = administrativeDivisionNo;
    }

    public String getEconomicTypesOfOperatingHousehold() {
        return economicTypesOfOperatingHousehold;
    }

    public void setEconomicTypesOfOperatingHousehold(String economicTypesOfOperatingHousehold) {
        this.economicTypesOfOperatingHousehold = economicTypesOfOperatingHousehold;
    }

    public String getOperatingLicenseIssuingAgency() {
        return operatingLicenseIssuingAgency;
    }

    public void setOperatingLicenseIssuingAgency(String operatingLicenseIssuingAgency) {
        this.operatingLicenseIssuingAgency = operatingLicenseIssuingAgency;
    }

    public BigDecimal getRegisteredCapital() {
        return registeredCapital;
    }

    public void setRegisteredCapital(BigDecimal registeredCapital) {
        this.registeredCapital = registeredCapital;
    }

    public Long getRegisteredVehiclesNumber() {
        return registeredVehiclesNumber;
    }

    public void setRegisteredVehiclesNumber(Long registeredVehiclesNumber) {
        this.registeredVehiclesNumber = registeredVehiclesNumber;
    }

    public Long getRegisteredDriverNumber() {
        return registeredDriverNumber;
    }

    public void setRegisteredDriverNumber(Long registeredDriverNumber) {
        this.registeredDriverNumber = registeredDriverNumber;
    }

    public String getLegalRepresentative() {
        return legalRepresentative;
    }

    public void setLegalRepresentative(String legalRepresentative) {
        this.legalRepresentative = legalRepresentative;
    }

    public String getLegalRepresentativeIDCard() {
        return legalRepresentativeIDCard;
    }

    public void setLegalRepresentativeIDCard(String legalRepresentativeIDCard) {
        this.legalRepresentativeIDCard = legalRepresentativeIDCard;
    }

    public String getLegalRepresentativePhoto() {
        return legalRepresentativePhoto;
    }

    public void setLegalRepresentativePhoto(String legalRepresentativePhoto) {
        this.legalRepresentativePhoto = legalRepresentativePhoto;
    }

    public String getLegalRepresentativePhone() {
        return legalRepresentativePhone;
    }

    public void setLegalRepresentativePhone(String legalRepresentativePhone) {
        this.legalRepresentativePhone = legalRepresentativePhone;
    }

    public String getPaymentInstitutionName() {
        return paymentInstitutionName;
    }

    public void setPaymentInstitutionName(String paymentInstitutionName) {
        this.paymentInstitutionName = paymentInstitutionName;
    }

    public String getPaymentServiceLicenseNo() {
        return paymentServiceLicenseNo;
    }

    public void setPaymentServiceLicenseNo(String paymentServiceLicenseNo) {
        this.paymentServiceLicenseNo = paymentServiceLicenseNo;
    }

    public String getPaymentServiceType() {
        return paymentServiceType;
    }

    public void setPaymentServiceType(String paymentServiceType) {
        this.paymentServiceType = paymentServiceType;
    }

    public String getServiceCoverageArea() {
        return serviceCoverageArea;
    }

    public void setServiceCoverageArea(String serviceCoverageArea) {
        this.serviceCoverageArea = serviceCoverageArea;
    }

    public String getProvisionsDepositoryBank() {
        return provisionsDepositoryBank;
    }

    public void setProvisionsDepositoryBank(String provisionsDepositoryBank) {
        this.provisionsDepositoryBank = provisionsDepositoryBank;
    }

    public String getNetAboutCarCompanyLogo() {
        return netAboutCarCompanyLogo;
    }

    public void setNetAboutCarCompanyLogo(String netAboutCarCompanyLogo) {
        this.netAboutCarCompanyLogo = netAboutCarCompanyLogo;
    }

    public String getServiceAgenciesNumber() {
        return serviceAgenciesNumber;
    }

    public void setServiceAgenciesNumber(String serviceAgenciesNumber) {
        this.serviceAgenciesNumber = serviceAgenciesNumber;
    }

    public String getServiceAgenciesName() {
        return serviceAgenciesName;
    }

    public void setServiceAgenciesName(String serviceAgenciesName) {
        this.serviceAgenciesName = serviceAgenciesName;
    }

    public String getServiceAgenciesCode() {
        return serviceAgenciesCode;
    }

    public void setServiceAgenciesCode(String serviceAgenciesCode) {
        this.serviceAgenciesCode = serviceAgenciesCode;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getEmergencyPhone() {
        return emergencyPhone;
    }

    public void setEmergencyPhone(String emergencyPhone) {
        this.emergencyPhone = emergencyPhone;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public String getCompanyAddress() {
        return companyAddress;
    }

    public void setCompanyAddress(String companyAddress) {
        this.companyAddress = companyAddress;
    }

    public String getFox() {
        return fox;
    }

    public void setFox(String fox) {
        this.fox = fox;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getScope() {
        return scope;
    }

    public void setScope(Integer scope) {
        this.scope = scope;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public boolean isCompanyType() {
        return companyType;
    }

    public void setCompanyType(boolean companyType) {
        this.companyType = companyType;
    }

    public String getAbbreviation() {
        return abbreviation;
    }

    public void setAbbreviation(String abbreviation) {
        this.abbreviation = abbreviation;
    }

    public String getFzzPhone() {
        return fzzPhone;
    }

    public void setFzzPhone(String fzzPhone) {
        this.fzzPhone = fzzPhone;
    }

    public String getLogo() {
        if (StringUtils.isBlank(logo)) {
            return null;
        }
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getPinyin() {
        return pinyin;
    }

    public void setPinyin(String pinyin) {
        this.pinyin = pinyin;
    }

    public Area getArea() {
        return area;
    }

    public void setArea(Area area) {
        this.area = area;
    }

    public String getSignName() {
        return signName;
    }

    public void setSignName(String signName) {
        this.signName = signName;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public List<DriverLevel> getDriverLevels() {
        return driverLevels;
    }

    public void setDriverLevels(List<DriverLevel> driverLevels) {
        this.driverLevels = driverLevels;
    }

    public boolean isUseMine() {
        return useMine;
    }

    public void setUseMine(boolean useMine) {
        this.useMine = useMine;
    }

    public boolean isUseMineCar() {
        return useMineCar;
    }

    public void setUseMineCar(boolean useMineCar) {
        this.useMineCar = useMineCar;
    }

    public boolean isUseMinePaotui() {
        return useMinePaotui;
    }

    public void setUseMinePaotui(boolean useMinePaotui) {
        this.useMinePaotui = useMinePaotui;
    }

    public boolean isUseMineFreight() {
        return useMineFreight;
    }

    public void setUseMineFreight(boolean useMineFreight) {
        this.useMineFreight = useMineFreight;
    }

    public Integer getSort() {
        if (null == sort) {
            return 0;
        }
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getFeeContent() {
        return feeContent;
    }

    public void setFeeContent(String feeContent) {
        this.feeContent = feeContent;
    }

    public String getProtectFeeContent() {
        return protectFeeContent;
    }

    public void setProtectFeeContent(String protectFeeContent) {
        this.protectFeeContent = protectFeeContent;
    }

    public void prePersist() {

        HanyuPinyinOutputFormat format = new HanyuPinyinOutputFormat();
        format.setToneType(HanyuPinyinToneType.WITHOUT_TONE);// 没有声调
        format.setCaseType(HanyuPinyinCaseType.LOWERCASE);// 小写
        format.setVCharType(HanyuPinyinVCharType.WITH_V);

        String companyName = this.getCompanyName();
        if (StringUtils.isNotBlank(companyName)) {
            StringBuilder sb = new StringBuilder();
            for (char ch : companyName.toCharArray()) {
                try {
                    String results[] = PinyinHelper.toHanyuPinyinStringArray(
                        ch, format);
                    if (ArrayUtils.isNotEmpty(results)) {
                        String pinying = results[0];
                        sb.append(pinying.charAt(0));
                    }
                } catch (BadHanyuPinyinOutputFormatCombination e) {
                    e.printStackTrace();
                }
            }
            this.pinyin = sb.toString();
        }
    }

    public void preUpdate() {

        HanyuPinyinOutputFormat format = new HanyuPinyinOutputFormat();
        format.setToneType(HanyuPinyinToneType.WITHOUT_TONE);// 没有声调
        format.setCaseType(HanyuPinyinCaseType.LOWERCASE);// 小写
        format.setVCharType(HanyuPinyinVCharType.WITH_V);

        String companyName = this.getCompanyName();
        if (StringUtils.isNotBlank(companyName)) {
            StringBuilder sb = new StringBuilder();
            for (char ch : companyName.toCharArray()) {
                try {
                    String results[] = PinyinHelper.toHanyuPinyinStringArray(
                        ch, format);
                    if (ArrayUtils.isNotEmpty(results)) {
                        String pinying = results[0];
                        sb.append(pinying.charAt(0));
                    }
                } catch (BadHanyuPinyinOutputFormatCombination e) {
                    e.printStackTrace();
                }
            }
            this.pinyin = sb.toString();
        }

    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getIntroduceTitle() {
        return introduceTitle;
    }

    public void setIntroduceTitle(String introduceTitle) {
        this.introduceTitle = introduceTitle;
    }

    public String getIntroduceContent() {
        return introduceContent;
    }

    public void setIntroduceContent(String introduceContent) {
        this.introduceContent = introduceContent;
    }

    public String getPicture2() {
        return picture2;
    }

    public void setPicture2(String picture2) {
        this.picture2 = picture2;
    }

    public String getIntroduceTitle2() {
        return introduceTitle2;
    }

    public void setIntroduceTitle2(String introduceTitle2) {
        this.introduceTitle2 = introduceTitle2;
    }

    public String getIntroduceContent2() {
        return introduceContent2;
    }

    public void setIntroduceContent2(String introduceContent2) {
        this.introduceContent2 = introduceContent2;
    }

    public String getServiceAgenciesAddress() {
        return serviceAgenciesAddress;
    }

    public void setServiceAgenciesAddress(String serviceAgenciesAddress) {
        this.serviceAgenciesAddress = serviceAgenciesAddress;
    }

    public String getServiceAgenciesChargePersonName() {
        return serviceAgenciesChargePersonName;
    }

    public void setServiceAgenciesChargePersonName(String serviceAgenciesChargePersonName) {
        this.serviceAgenciesChargePersonName = serviceAgenciesChargePersonName;
    }

    public String getServiceAgenciesChargePersonPhone() {
        return serviceAgenciesChargePersonPhone;
    }

    public void setServiceAgenciesChargePersonPhone(String serviceAgenciesChargePersonPhone) {
        this.serviceAgenciesChargePersonPhone = serviceAgenciesChargePersonPhone;
    }

    public String getServiceAgenciesCustodianName() {
        return serviceAgenciesCustodianName;
    }

    public void setServiceAgenciesCustodianName(String serviceAgenciesCustodianName) {
        this.serviceAgenciesCustodianName = serviceAgenciesCustodianName;
    }

    public String getServiceAgenciesCustodianPhone() {
        return serviceAgenciesCustodianPhone;
    }

    public void setServiceAgenciesCustodianPhone(String serviceAgenciesCustodianPhone) {
        this.serviceAgenciesCustodianPhone = serviceAgenciesCustodianPhone;
    }

    public String getAdministrativeMailingAddress() {
        return administrativeMailingAddress;
    }

    public void setAdministrativeMailingAddress(String administrativeMailingAddress) {
        this.administrativeMailingAddress = administrativeMailingAddress;
    }

    public String getAgencyEmergencyTel() {
        return agencyEmergencyTel;
    }

    public void setAgencyEmergencyTel(String agencyEmergencyTel) {
        this.agencyEmergencyTel = agencyEmergencyTel;
    }

    public String getAdministrativeDivisionNoArr() {
        return administrativeDivisionNoArr;
    }

    public void setAdministrativeDivisionNoArr(String administrativeDivisionNoArr) {
        this.administrativeDivisionNoArr = administrativeDivisionNoArr;
    }

    public Long getBdLevelId() {
        return bdLevelId;
    }

    public void setBdLevelId(Long bdLevelId) {
        this.bdLevelId = bdLevelId;
    }

    public Long getAreaCarId() {
        return areaCarId;
    }

    public void setAreaCarId(Long areaCarId) {
        this.areaCarId = areaCarId;
    }

    public String getServiceAgenciesNumberArr() {
        return serviceAgenciesNumberArr;
    }

    public void setServiceAgenciesNumberArr(String serviceAgenciesNumberArr) {
        this.serviceAgenciesNumberArr = serviceAgenciesNumberArr;
    }

    public Date getAgenctCreateDate() {
        return agenctCreateDate;
    }

    public void setAgenctCreateDate(Date agenctCreateDate) {
        this.agenctCreateDate = agenctCreateDate;
    }

    public Date getOperatingLicenseValidityPeriodStart() {
        return operatingLicenseValidityPeriodStart;
    }

    public void setOperatingLicenseValidityPeriodStart(Date operatingLicenseValidityPeriodStart) {
        this.operatingLicenseValidityPeriodStart = operatingLicenseValidityPeriodStart;
    }

    public Date getOperatingLicenseValidityPeriodEnd() {
        return operatingLicenseValidityPeriodEnd;
    }

//	public void setOperatingLicenseValidityPeriodStart(String operatingLicenseValidityPeriodStart) {
//		try {
//			this.operatingLicenseValidityPeriodStart = new SimpleDateFormat("yyyy-MM-dd").parse(operatingLicenseValidityPeriodStart);
//		} catch (ParseException e) {
//			e.printStackTrace();
//		}
//	}

    public void setOperatingLicenseValidityPeriodEnd(Date operatingLicenseValidityPeriodEnd) {
        this.operatingLicenseValidityPeriodEnd = operatingLicenseValidityPeriodEnd;
    }

    public Date getOperatingLicenseIssuingDate() {
        return operatingLicenseIssuingDate;
    }

    public void setOperatingLicenseIssuingDate(Date operatingLicenseIssuingDate) {
        this.operatingLicenseIssuingDate = operatingLicenseIssuingDate;
    }

    public enum InfoFeeType {
        /**
         * 不扣费
         */
        none,
        /**
         * 派单时
         */
        paidan,
        /**
         * 司机接收任务时
         */
        acceptTask,
        /**
         * 完成时
         */
        finishTask
    }
}
